﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Team4
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BLL.Security.PageSecurity(this);
            
            if (!BLL.User.IsAdmin(User.Identity.Name)) return;

            usersPageLink.Visible = true;
            roomsPageLink.Visible = true;
        }
    }
}
